From 90829b52d70dab3e69deba038c1b76b722435e0c Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 5 May 2007 11:23:55 +0100 Subject: [PATCH] Fix Xen API's Host.get_record method. Currently it returns supported_bootloaders as a string. This patch returns supported_bootloaders as a 'string set' - per the spec. The c-bindings fail to parse response, expecting a set but only finding a string. Signed-off-by: Jim Fehlig --- tools/python/xen/xend/XendAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendAPI.py b/tools/python/xen/xend/XendAPI.py index a2e1638c52..cb644ad0f9 100644 --- a/tools/python/xen/xend/XendAPI.py +++ b/tools/python/xen/xend/XendAPI.py @@ -1009,7 +1009,7 @@ class XendAPI(object): 'cpu_configuration': node.get_cpu_configuration(), 'metrics': node.host_metrics_uuid, 'capabilities': node.get_capabilities(), - 'supported_bootloaders': 'pygrub', + 'supported_bootloaders': ['pygrub'], 'sched_policy': node.get_vcpus_policy()} return xen_api_success(record) -- 2.30.2